
namespace JTZY.Model.Pay.Dto
{
    /// <summary>
    /// 支付单表查询对象
    /// </summary>
    public class CorecmsbillpaymentsQueryDto : PagerInfo 
    {
    }

    /// <summary>
    /// 支付单表输入输出对象
    /// </summary>
    public class CorecmsbillpaymentsDto
    {
        [Required(ErrorMessage = "支付单号不能为空")]
        public string PaymentId { get; set; }

        [Required(ErrorMessage = "资源编号不能为空")]
        public string SourceId { get; set; }

        [Required(ErrorMessage = "支付金额不能为空")]
        public decimal Money { get; set; }

        [Required(ErrorMessage = "用户ID 关联user.id不能为空")]
        public long UserId { get; set; }

        [Required(ErrorMessage = "单据类型不能为空")]
        public int Type { get; set; }

        [Required(ErrorMessage = "支付状态不能为空")]
        public int Status { get; set; }

        [Required(ErrorMessage = "支付类型编码 关联payments.code不能为空")]
        public string PaymentCode { get; set; }

        [Required(ErrorMessage = "支付单生成IP不能为空")]
        public string Ip { get; set; }

        public string Parameters { get; set; }

        public string PayedMsg { get; set; }

        public string TradeNo { get; set; }

        [Required(ErrorMessage = "创建时间不能为空")]
        public DateTime? CreateTime { get; set; }

        public DateTime? UpdateTime { get; set; }



        [ExcelColumn(Name = "单据类型")]
        public string TypeLabel { get; set; }
    }
}